﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Share/Manage.master" AutoEventWireup="true"
    CodeFile="BidStatus.aspx.cs" Inherits="Manage_BidStatus" Theme="Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <link href="../lib/css/StyleSheet.css" rel="stylesheet" type="text/css" />
    <link href="../lib/css/table.css" rel="stylesheet" type="text/css" />

    <script src="../lib/script/jquery.min.js" type="text/javascript"></script>

    <script src="../lib/script/table.js" type="text/javascript"></script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div>
        <div id="info">
            <asp:Literal runat="server" ID="ltlinfo">当前总企业数 {0} 家，总产品数 {1} 个，已报价企业 {2} 家，已报价产品 {3} 个，已报价且确认企业 {4} 家，已报价且确认产品 {5}个，未确认企业 {6} 家，未确认产品 {7}个。</asp:Literal>
        </div>
        <div id="query">
            <table>
                <tr>
                    <td>
                        报价情况：
                    </td>
                    <td>
                        <asp:DropDownList runat="server" ID="ddlStatus">
                            <asp:ListItem Value="all">全部</asp:ListItem>
                            <asp:ListItem Value="0">未报价企业</asp:ListItem>
                            <asp:ListItem Value="1">已报价企业</asp:ListItem>
                            <asp:ListItem Value="2">已确认报价企业</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                   
                    <td>
                        投标企业名称：
                    </td>
                    <td>
                        <asp:TextBox runat="server" ID="txtCompanyName"></asp:TextBox>
                    </td>
                    <td>
                        <asp:Button runat="server" ID="btnQeury" Text="查询" OnClick="btnQeury_Click" />
                        <asp:Button runat="server" ID="btnNotBid" Visible="false" Text="导出未报价品规" OnClick="btnNotBid_Click" />
                    </td>
                    <td>
                        <a href="ShowBidStatus.aspx" target="_blank">查看报价情况(大屏幕)</a>
                     
                    </td>
                </tr>
            </table>
        </div>
        <div id="gridview" style="width: 100%">
            <HZ:HzPager runat="server" ID="pager1" ShowFirstLast="true" 
                onpagechanging="pager1_PageChanging" />
            <asp:GridView runat="server" ID="gv2" AutoGenerateColumns="false" Width="100%">
                <Columns>
                    <asp:BoundField HeaderText="企业编码" DataField="CompanyCode_Tb" />
                    <asp:BoundField HeaderText="投标企业名称" DataField="CompanyName_Tb" />
                    <asp:BoundField HeaderText="已报价品种" DataField="BidCount" />
                    <asp:TemplateField HeaderText="未报价品种">
                        <ItemTemplate>
                            <%# (int)Eval("AllCount") - (int)Eval("BidCount") %>
                        </ItemTemplate>
                    </asp:TemplateField>
                          
                    <%-- <asp:BoundField HeaderText="未报价品种" DataField="UnBidNum" />--%>
                </Columns>
            </asp:GridView>
        </div>
    </div>
</asp:Content>
